<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网络课程中的智能学习设计</title>
<script type="text/javascript" src="<?php ?>"></script>
<?php echo HTML::script('statics/scripts/jquery-1.3.2.min.js') ?>
<?php echo HTML::script('statics/scripts/swfobject.js') ?>
<script type="text/javascript">
// 嵌入Flash
swfobject.embedSWF("<?php echo URL::site('statics/client/zndx.swf')?>", "holder", "800", "600", "9.0.0", "<?php echo URL::site('statics/scripts/expressInstall.swf')?>");

// 页面载入时立即调整
$(function() {
	if (document.documentElement.clientHeight > 600) {
		adjustPos();
	}
	$(window).resize(adjustPos);
});

// 调整位置，使Flash绝对居中
function adjustPos()
{
	$("#container").css("margin-top", (document.documentElement.clientHeight - 600) / 2);
}
</script>
<style type="text/css">
* { margin:0; padding:0; }
body { background-color: #333; }
#container { width:800px; height:600px; margin:0 auto; }
</style>
</head>

<body>

<div id="container">
	<div id="holder"></div>
</div>

</body>
</html>